﻿namespace JobsTest
{
    using FluentScheduler;
    using static Serilog.Log;

    /// <summary>
    /// 类型化的Job，继承自IJob，需要有无参默认构造函数
    /// </summary>
    public class ParameterJob : IJob
    {
        public string Parameter { get; set; }

        public void Execute() => Logger.Information($"Parameter: executed with parameter \"{Parameter}\"");
    }
}
